#define _CRT_SECURE_NO_WARNINGS 1
#include"BinaryTree.h"

void test1()
{
	BTDataType arr[] = "ABD##E#H##CF##G##";
	BTDataType arr2[] = "AB##C##";

	int i = 0;
	BTNode* bt = BinaryTreeCreate(arr2, &i);
	BinaryTreeInOrder(bt);
	printf("\n");
	BinaryTreePrevOrder(bt);
	printf("\n");
	BinaryTreePostOrder(bt);
	printf("\n");

	BinaryTreeLevelOrder(bt);

	printf("%d ", BinaryTreeComplete(bt));
}
int main()
{
	test1();
	return 0;
}